package cc.linker.steplink.crm.merchant.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VipCustomerDao {

    List<Map<String, Object>> getVipList(Map<String, Object> param);

    Integer getVipNumById(int id);

    void changeVipStatus(Map<String, Object> param);

    Integer getVipStatusById(Map<String, Object> param);

    void delVip(Map<String, Object> param);

    void insertVip(Map<String, Object> param);

    void updateVip(Map<String, Object> param);

    Map<String, Object> getVip(@Param("id") Integer id, @Param("orgId") String orgId);

    Integer getCountVipName(Map<String, Object> param);

    void changeRefundStatus(@Param("id") Long id, @Param("refundState") int refundState);

    void updateCustomerVipBenefit(Map<String, Object> param);

    Integer getGoodsById(Map<String, Object> param);

    Map<String, Object> getGoodsInfoById(Long goodsId);

    Integer getCustomerVipNum(Long id);

    List<String> getVipCustomerIdList(String id);

    void updateIntegralGoods(Map<String, Object> param);

    List<Map<String, Object>> getGoodsSecKillList(int vipId);

    void saveGoodsSecKill(Map<String, Object> goodsSecKill);
}
